<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Document</title>
        <style>
            *{
                margin: 0px;
                padding: 0px;
                list-style: none;
            }
            .header{
                height: 66px;
                background:lime;
                border-bottom:1px solid blue;

            }
            .banner{
                width: 1207px;
                height: 512px;
                background:lime;
                margin:25px auto;
            }
            .menu{
                width: 1207px;
                height: 36px;
                background:lime;
                margin:0px auto; 
            }
            .list{
                width: 1207px;
                height: 1000px;
                background:lime;
                margin:25px auto 12px; 
            }
            .txt{
                width: 1207px;
                height: 35px;
                background:lime;
                text-align: center;
                /* 文字垂直居中设置行高等于当前标签的高度 */
                line-height: 35px;
                margin:12px auto 0px;
            }
            .header .left{
                float: left;
                margin-top: 26px;
                margin-left: 35px;
            }
            .header ul{
                float: left;
                margin-top: 15px;
                margin-left: 257px;
            }
            .header .right{
                float: right;
            }
            .header li{
                float: left;
            }
            .banner .left{
                float: left;
                width: 909px;
            }
            .banner .right{
                float: right;
                width: 289px;
            }
            .banner .right li{
                width: 289px;
                height: 163px;
                margin-bottom:12px;
              
                /* 超出部分隐藏 */
                overflow: hidden;
                position: relative;
            }
            .banner .right img{
                width: 289px;
            }
            .banner .right p{
                position: absolute;
                left:0px;
                bottom:0px;
                /* rgba实现透明色 rgb红绿蓝 a透明度0-1 */
                background:rgba(0,0,0,0.3);
                width:289px;
                height: 30px;
                line-height: 30px;
            }
            .menu li{
                width: 130px;
                height: 33px;
                border: 1px solid red;
                line-height: 33px;
                padding-left:12px;
                float: left;
                margin-bottom:15px;
              
            }
            .list li{
                width: 291px;
                height: 311px;
                border-bottom: 1px solid red;
                float: left;
                margin-right: 14px;
            }
            .list li:nth-of-type(4n){
                margin-right: 0px;
            }
            .list p{
                margin:12px 15px;
            }
            .list img{
                width:291px;
            }
            .list p:nth-of-type(1){
                height: 42px;
            }
            .list span:nth-of-type(1){
                float: left;
            }
            .list span:nth-of-type(2){
                float: right;
                margin-left: 121px;
            }
            .list span:nth-of-type(3){
                float: right;
            }
            .header ul span{
               width: 60px;
               height: 60px;
               background: palevioletred;
               border-radius: 150px;
            }
            .footer{
                width: 1212px;
                height: 275px;
                margin: 0px auto;
                background: lightblue;
            }
        </style>
    </head>
    <body>
        <div class="header">
            <!-- span引入小元素 -->
            <span class="left">三</span>
            <ul>
                <span>赞</span>
                <span>嘻</span>
                <span>哈</span>
                <span>看</span>
                <span>看</span>
            </ul>
            <span class="right">登录</span>
        </div>
        <div class="banner">
            <img src="images/s003.jpg" alt="" class="left">
            <ul class="right">
                <li>
                    <img src="images/s02.jpg" alt="">
                    <p>想点亮圣诞气氛，试试这个驯鹿灯</p>
                </li>
                <li>
                    <img src="images/s02.jpg" alt="">
                    <p>想点亮圣诞气氛，试试这个驯鹿灯</p>
                </li>
                <li>
                    <img src="images/s02.jpg" alt="">
                    <p>想点亮圣诞气氛，试试这个驯鹿灯</p>
                </li>
            </ul>
        </div>
        <ul class="menu"><li></li>
        <li>最新</li>
        <li>最热</li>
        <li>热议</li>
        <li>随机</li>
    </ul>
        
        <ul class="list">
           
        <li>
            <img src="images/i01.jpg" alt="">
            <p>哈哈哈哈哈哈哈哈哈哈哈哈哈</p>
            <p>
                <span>2小时前</span>
                <span>2</span>
                <span>122</span>
            </p>
        </li>
        <li>
            <img src="images/i02.jpg" alt="">
        </li>
        <li>
            <img src="images/i03.jpg" alt="">
        </li>
        <li>
            <img src="images/i04.jpg" alt="">
        </li>
        <li>
            <img src="images/i05.jpg" alt="">
        </li>
        <li> <img src="images/i06.png" alt="">
        </li>
        <li>
            <img src="images/i07.jpg" alt="">
        </li>
        <li>
            <img src="images/i08.jpg" alt="">
        </li>
        <li>
            <img src="images/i09.jpg" alt="">
        </li>
        <li>
            <img src="images/i10.jpg" alt="">
        </li>
        <li>
            <img src="images/i11.jpg" alt="">
        </li>
    </ul>
        
        <p class="txt">太快了吧，慢慢来，笑</p>
        <div class="footer">
             <p>合作伙伴</p>
             <p> </p>

        </div>
    </body>
</html>